/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/6 0:00:57
 */
import request from '@/utils/request'

export function brandAdd(data) {
  return request({
    url: '/simpleshopsetting/brand/add',
    method: 'post',
    data
  })
}

export function brandUpdate(data) {
  return request({
    url: '/simpleshopsetting/brand/update',
    method: 'post',
    data
  })
}

export function brandDel(data) {
  return request({
    url: '/simpleshopsetting/brand/del',
    method: 'post',
    data
  })
}

export function brandSelect(data) {
  return request({
    url: '/simpleshopsetting/brand/select',
    method: 'post',
    data
  })
}

export function brandSelectpage(data) {
  return request({
    url: '/simpleshopsetting/brand/selectpage',
    method: 'post',
    data
  })
}

export function brandSelecttree(data) {
  return request({
    url: '/simpleshopsetting/brand/selecttree',
    method: 'get',
    params:data
  })
}

export function brandInfo(data) {
  return request({
    url: '/simpleshopsetting/brand/info',
    method: 'get',
    params:data
  })
}